package com.ciquan.server.bean;


import com.ciquan.server.annotation.ExcelColumn;
import com.ciquan.server.util.AmountParser;
import com.ciquan.server.util.DateValueParser;
import com.ciquan.server.util.IntegerValueParser;

import java.util.Date;

/**
 * Created by kakalee on 16/3/5.
 */
public class BusinessStatus {

    private Integer id;

    @ExcelColumn(value = "时间段", valuePaser = DateValueParser.class)
    private Date date;

    @ExcelColumn(value = "浏览量", valuePaser = IntegerValueParser.class)
    private Integer traffic;

    @ExcelColumn(value = "访客数", valuePaser = IntegerValueParser.class)
    private Integer userCount;

    @ExcelColumn(value = "下单金额", valuePaser = AmountParser.class)
    private Integer orderAmount;

    @ExcelColumn(value = "下单客户数", valuePaser = IntegerValueParser.class)
    private Integer orderUserCount;

    @ExcelColumn(value = "下单单量", valuePaser = IntegerValueParser.class)
    private Integer orderCount;

    @ExcelColumn(value = "下单商品件数", valuePaser = IntegerValueParser.class)
    private Integer goodsCount;

    private Integer type;

    private float percent;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getTraffic() {
        return traffic;
    }

    public void setTraffic(Integer traffic) {
        this.traffic = traffic;
    }

    public Integer getUserCount() {
        return userCount;
    }

    public void setUserCount(Integer userCount) {
        this.userCount = userCount;
    }

    public Integer getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Integer orderAmount) {
        this.orderAmount = orderAmount;
    }

    public Integer getOrderUserCount() {
        return orderUserCount;
    }

    public void setOrderUserCount(Integer orderUserCount) {
        this.orderUserCount = orderUserCount;
    }

    public Integer getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(Integer orderCount) {
        this.orderCount = orderCount;
    }

    public Integer getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public float getPercent() {
        return percent;
    }

    public void setPercent(float percent) {
        this.percent = percent;
    }
}
